<?php
include ('template/header.php');
include("db_config.php");
$link = Conectarse();
session_name($usuarios_sesion);
$id_alumno = $_GET['id_alumno'];

$result = mysql_query("select * from alumno where id_alumno='$id_alumno'");
$row = mysql_fetch_assoc($result);
?>
<div id="content">
    <div id="breadcrumb">Inicio &raquo; Ver alumnos &raquo; Modificar</div>
    <div id="titulo">Modificar</div>
    <form name="forma1" action="modi_alumno2.php?id_alumno=<?php echo $id_alumno ?>" method="post" enctype="multipart/form-data">
        <table width="100%" border="0">
            <tr>
                <td colspan="6"><div align="center"><strong><font color="#FF3300">Datos del alumno </font></strong></div></td>
            </tr>
            <tr>
                <td><strong>Nombre</strong></td>
                <td colspan="2"><input name="nombre" type="text" id="nombre" size="20" value="<?php echo $row['nombre']; ?>" /><input name="apellido" type="text" id="apellido" size="20" value="<?php echo $row['apellido']; ?>" /></td>
                <td><strong>No. Control </strong></td>
                <td colspan="2"><input name="nc" type="text" id="nc"  size="10" value="<?php echo $row['nc']; ?>"/></td>
            </tr>
            <tr>
                <td><strong>Carrera</strong></td>
                <td colspan="2"><select name="carrera">
                        <option value="<?php echo $row['carrera']; ?>"><?php echo $row['carrera']; ?></option>
                        <option value="Arquitectura">Arquitectura</option>
                        <option value="Ing. Bioquimica">Ing. Bioquimica</option>
                        <option value="Ing. Civil">Ing. Civil</option>
                        <option value="Ing. Electrica">Ing. Electrica</option>
                        <option value="Ing. en Gestion Empresarial">Ing. en Gestion Empresarial</option>
                        <option value="Ing. Industrial">Ing. Industrial</option>
                        <option value="Ing. Mecatronica">Ing. Mecatr&oacute;nica</option>
                        <option value="Ing. Quimica">Ing. Quimica</option>
                        <option value="Ing. Sistemas Computacionales">Ing. Sistemas Computacionales</option>
                        <option value="Ing. en Tecnologicas de la Informacion y Comunicaciones">Ing. en Tecnologicas de la Informac&iacute;on y Comunicaci&oacute;nes</option>
                        <option value="Lic. en Administracion">Lic. en Administraci&oacute;n</option>
                    </select></td>
                <td><strong>Ciudad</strong></td>
                <td colspan="2"><input name="ciudad" type="text" id="ciudad" size="30" value="<?php echo $row['ciudad']; ?>" /></td>
            </tr>
            <tr>
                <td><strong>Email</strong></td>
                <td colspan="2"><input name="email" type="text" id="email" size="30" value="<?php echo $row['email']; ?>"/></td>
                <td><strong>Direccion</strong></td>
                <td colspan="2"><input name="direccion" type="text" id="direccion" size="30" value="<?php echo $row['domicilio']; ?>"/></td>
            </tr>
            <tr>
                <td><strong>Telefono(particular)</strong></td>
                <td colspan="2"><input name="tel2" type="text" id="tel2" size="10" value="<?php echo $row['tel2']; ?>" /></td>
                <td><strong>Telefono(casa)</strong></td>
                <td colspan="2"><input name="tel1" type="text" id="tel1" size="10" value="<?php echo $row['tel1']; ?>" /></td>
            </tr>
            <tr>
                <td><strong>Atension medica </strong></td>
                <td colspan="2"><select name="atnmedica">
                        <option value="<?php echo $row['atnmedica']; ?>"><?php echo $row['atnmedica']; ?></option>
                        <option value="IMSS(X)">IMSS</option>
                        <option value="ISSSTE(X)">ISSSTE</option>
                        <option value="">Otro</option>
                    </select></td>
                <td><strong>No.Afil.Servicio medico </strong></td>
                <td colspan="2"><input name="nroafil" type="text" id="nroafil" size="30" value="<?php echo $row['nroafil']; ?>" /></td>
            </tr>
            <tr>
                <td></label><strong><font color="#990000" size="2">*En caso de ser otro, especificar afiliacion por favor</font></strong></td>
                <td height="25">
                    <input type="text"  maxlength="60" name="atnmedicaa" size="25" style="font-family: Calibri; font-size: 10pt; font-weight: bold; border: 2px solid #C0C0C0; background-color: #E4E4E4" /></td>
            </tr>
        </table>
        <div align="center">
            <input type="submit" name="Submit" value="Guardar" />
        </div>
    </form>
</div>